package com.liuceng.zen.mapper;

import com.liuceng.zen.common.annotations.MyBatisRepository;
import com.liuceng.zen.pojo.domain.FrontGroupCreativeRel;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface FrontGroupCreativeRelMapper extends BaseMapper<FrontGroupCreativeRel>{
    int deleteByPrimaryKey(Integer id);

    int insert(FrontGroupCreativeRel record);

    int insertSelective(FrontGroupCreativeRel record);

    FrontGroupCreativeRel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FrontGroupCreativeRel record);

    int updateByPrimaryKey(FrontGroupCreativeRel record);

    List<FrontGroupCreativeRel> selectSelfCreative(Map<String,Object> map);

    int deleteByAdGroupId(Map<String,Object> map);

    List<Integer> selectSelfCreativeId(Map<String,Object> map);
}